package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.SysCgCpDim;

/**
 * SysCgCpDimService接口
 * 
 * @author SYF
 * @date 2025-04-30
 */
public interface ISysCgCpDimService 
{
    /**
     * 查询SysCgCpDim
     * 
     * @param yongyouCode SysCgCpDim主键
     * @return SysCgCpDim
     */
    public SysCgCpDim selectSysCgCpDimByYongyouCode(String yongyouCode);

    /**
     * 查询SysCgCpDim列表
     * 
     * @param sysCgCpDim SysCgCpDim
     * @return SysCgCpDim集合
     */
    public List<SysCgCpDim> selectSysCgCpDimList(SysCgCpDim sysCgCpDim);

    public List<SysCgCpDim> selectCpDimByYongyouCode(String yongyouCode);

    public List<SysCgCpDim> selectCpDimByYongyouName(String yongyouName);

    /**
     * 新增SysCgCpDim
     * 
     * @param sysCgCpDim SysCgCpDim
     * @return 结果
     */
    public int insertSysCgCpDim(SysCgCpDim sysCgCpDim);

    /**
     * 修改SysCgCpDim
     * 
     * @param sysCgCpDim SysCgCpDim
     * @return 结果
     */
    public int updateSysCgCpDim(SysCgCpDim sysCgCpDim);

    /**
     * 批量删除SysCgCpDim
     * 
     * @param yongyouCodes 需要删除的SysCgCpDim主键集合
     * @return 结果
     */
    public int deleteSysCgCpDimByYongyouCodes(String[] yongyouCodes);

    /**
     * 删除SysCgCpDim信息
     * 
     * @param yongyouCode SysCgCpDim主键
     * @return 结果
     */
    public int deleteSysCgCpDimByYongyouCode(String yongyouCode);
}
